package com.lmk.ms.common.dto.mvc;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ANTD 表格插槽配置
 * @author laomake@hotmail.com
 * @version 1.0
 * @date 2023/5/19
 */
@Data
@NoArgsConstructor
@Schema(description = "表格插槽配置")
public class ColumnSlot {

    /** 插槽类型：图片 */
    public static final String img = "img";

    /** 插槽类型：点击编辑 */
    public static final String edit = "edit";

    @Schema(description = "填充配置")
    private String customRender;

    public ColumnSlot(String customRender) {
        this.customRender = customRender;
    }
}
